home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / source.exe / POSIX / SH / STD / H / FCNTL.H next >
C/C++ Source or Header  |  1992-07-13  |  437b  |  27 lines

  1. /* P1003.1 fcntl/open definitions */
  2. /* Based on a version by Terrence W. Holm */
  3.  
  4. /*  for fcntl(2)  */
  5.  
  6. #define    F_DUPFD        0
  7. #define    F_GETFD        1
  8. #define    F_SETFD        2
  9. #define    F_GETFL        3
  10. #define    F_SETFL        4
  11.  
  12. #define    FD_CLEXEC    1        /* fcntl F_SETFD close on exec mode */
  13.  
  14. /*  for open(2)  */
  15.  
  16. #define    O_RDONLY    0
  17. #define    O_WRONLY    1
  18. #define    O_RDWR        2
  19.  
  20. #if _BSD
  21. #undef    O_RDONLY
  22. #undef    O_WRONLY
  23. #undef    O_RDWR
  24. #include "/./usr/include/fcntl.h"
  25. #endif
  26.  
  27.